package com.android.inestpin.model.detail;

import java.util.ArrayList;

/**
 * Created by Administrator on 2018/3/8.
 */

public class getcartdata  {
   public ArrayList<cartgoods> cart_goods;
   public String cart_total;
   public int code;
   public boolean flag;
    public String msg	;
    public int time;

    public ArrayList<cartgoods> getCart_goods() {
        return cart_goods;
    }

    public void setCart_goods(ArrayList<cartgoods> cart_goods) {
        this.cart_goods = cart_goods;
    }

    public String getCart_total() {
        return cart_total;
    }

    public void setCart_total(String cart_total) {
        this.cart_total = cart_total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public class cartgoods{
        public String cost_price;
        public String goods_cid;
        public String goods_id;
        public String goods_is_sale;
        public String goods_name;
        public String goods_price;
        public String goods_sp_val	;
        public String goods_stock;
        public String goods_weight;
        public String  goods_weight_unit;
        public String id;
        public String img_src;
        public String is_selected	;
        public String mid	;
        public String obj_id	;
        public String qty;
        public String spec;
        public float subtotal;
        public String thumb;	//[{"path":"\/upload\/134\/images\/gallery\/4\/e\/159_src.jpg","title":"\u5929\u732b\u4e3b\u56fe"}]
        public String type;
        public String url	;


        public String getCost_price() {
            return cost_price;
        }

        public void setCost_price(String cost_price) {
            this.cost_price = cost_price;
        }

        public String getGoods_cid() {
            return goods_cid;
        }

        public void setGoods_cid(String goods_cid) {
            this.goods_cid = goods_cid;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_is_sale() {
            return goods_is_sale;
        }

        public void setGoods_is_sale(String goods_is_sale) {
            this.goods_is_sale = goods_is_sale;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getGoods_sp_val() {
            return goods_sp_val;
        }

        public void setGoods_sp_val(String goods_sp_val) {
            this.goods_sp_val = goods_sp_val;
        }

        public String getGoods_stock() {
            return goods_stock;
        }

        public void setGoods_stock(String goods_stock) {
            this.goods_stock = goods_stock;
        }

        public String getGoods_weight() {
            return goods_weight;
        }

        public void setGoods_weight(String goods_weight) {
            this.goods_weight = goods_weight;
        }

        public String getGoods_weight_unit() {
            return goods_weight_unit;
        }

        public void setGoods_weight_unit(String goods_weight_unit) {
            this.goods_weight_unit = goods_weight_unit;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg_src() {
            return img_src;
        }

        public void setImg_src(String img_src) {
            this.img_src = img_src;
        }

        public String getIs_selected() {
            return is_selected;
        }

        public void setIs_selected(String is_selected) {
            this.is_selected = is_selected;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getObj_id() {
            return obj_id;
        }

        public void setObj_id(String obj_id) {
            this.obj_id = obj_id;
        }

        public String getQty() {
            return qty;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public float getSubtotal() {
            return subtotal;
        }

        public void setSubtotal(float subtotal) {
            this.subtotal = subtotal;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
